/***************************************************************************
 *   Copyright (C) 2011  by TinySofts                                      *
 *   tinysofts@gmail.com                                                   *
 *   All Rights Reserved.                                                  *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   Refer to http://code.google.com/p/tinydict/                           *
 ***************************************************************************/

#include "dictinfo.h"
#include "ui_dictinfo.h"

DictInfo::DictInfo(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::DictInfo)
{
    ui->setupUi(this);
}

DictInfo::~DictInfo()
{
    delete ui;
}


void DictInfo::setName(QString n)
{
   ui->dictName->setText(n);
}

void DictInfo::setWordCount(int n)
{
    ui->wordCount->setText(QString::number(n));
}

void DictInfo::setVersion(QString n)
{
    ui->version->setText(n);
}
